package com.cloud.pole.common.constant;

/**
 * ${DESCRIPTION}
 *
 * @author wanghaobin
 * @create 2017-06-14 8:36
 */
public class CacheConstant {
    public static final String BASE_USER_TOKEN_KEY     = "token";
    public static final String ADMIN_USER_TOKEN_KEY    = "token";
    public static final String SERVICE_TOKEN_KEY       = "token";
    
    public static final String SERVICE_MSG_VERIFY_CODE_KEY       = "verify-code";
    public static final String SERVICE_MSG_VERIFY_COUNT_KEY       = "verify-count";

    public static final String SERVICE_WEIXIN_ACCESS_TOKEN_KEY       = "wxApp:accessToken";
    public static final String SERVICE_WEIXIN_SESSION_KEY            = "wxApp:sessionKey";

    
    
    public static final int BASE_USER_TOKEN_CATCH_EXPIRE  = 1440;          //1天有效期(单位分钟)
    public static final int BASE_USER_TOKEN_EXPIRE        = 43200;         //30天有效期(单位分钟)
    
    public static final int ADMIN_USER_TOKEN_EXPIRE    = 1440;             //1天有效期(单位分钟)
    public static final int SERVICE_TOKEN_KEY_EXPIRE   = 5;			       //5分钟(单位分钟)
    
    public static final int SERVICE_MSG_VERIFY_COUNT_EXPIRE   = 1440;          //1天有效期(单位分钟)
    public static final int SERVICE_MSG_VERIFY_CODE_EXPIRE    = 5;			   //5分钟(单位分钟)
    
    public static final int SERVICE_WEIXIN_ACCESS_TOKEN_EXPIRE    = 60;		        //60分钟(单位分钟)
    public static final int SERVICE_WEIXIN_SESSION_KEY_EXPIRE     = 24 * 60;        //1天有效期(单位分钟)


}
